<?php

interface SessionObjectInterface
{

    function getObjectState();

    /**
    * implement in your class to set the object to the state previously obtained by calling object method getObjectState()
    * in this method use also any other object's initialization you may need
    *
    * @param mixed $objectState
    */
    function setObjectState($objectState);
}

?> 